#ifndef __TINYSRV_TCP_SRV_SOCKET_H__
#define __TINYSRV_TCP_SRV_SOCKET_H__

#include "exception.h"
#include "non_copyable.h"
#include "tcp_socket_holder.h"

#include <string>


namespace tinySrv
{

  DECLARE_TINYSRV_EXCEPTION(TCPSrvSocket)
  
  class TCPSrvSocket
      : public TCPSocketHolder
  {
  public:
    TCPSrvSocket(std::string const &localAddress, unsigned short localPort, int backlog);
  };

}

#endif  // !__TINYSRV_TCP_SRV_SOCKET_H__
